<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class City extends Model
{
    protected $table='city';

    protected $hidden=[
      'fatherID','id'
    ];

    public function my_area()
    {
        return $this->hasMany('App\Models\Area','fatherID','cityID');
    }

}
